<h1>Account Settings</h1>

<% if current_user.providers.size > 0 -%>
	<table>
		<tr>
			<th>Service</th>
			<th>Username</th>
			<th>Password</th>
			<th>&nbsp;</th>
		</tr>
		<%= render :partial=>'providers/provider', :collection=>current_user.providers %>
	</table>
<% else -%>
	Gads! No calendaring services found! Maybe you should add some, eh?
<% end -%>

<h2>Add a new calendaring service</h2>
<%= render :partial=>'providers/new' %>
